
TINYLIB_ROOT = /mnt/d/tinylib

#-DUSE_ICE_HOST -DUSE_ICE_SVRFLX -DUSE_ICE_RELAY

ice_test: ice_test.c
	gcc $^ -o $@ \
        -DUSE_ICE_HOST -DUSE_ICE_SVRFLX -DUSE_ICE_RELAY \
        -ggdb -ffunction-sections -fdata-sections \
        -levent -lpjnath-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu -lpjlib-util-x86_64-unknown-linux-gnu -pthread -lm \
        -Wl,--gc-section

turn: turn.c
	gcc $^ -o $@ \
        -g \
        -I$(TINYLIB_ROOT) -L$(TINYLIB_ROOT)/output/ -ltinylib \
        -lpj -lpjlib-util -lpjnath
